Name: 'EmptyEventSource',
_init: function() {
+ this.isLoading = false;
},
requestRange: function(begin, end) {
_init: function() {
this._resetCache();
+ this.isLoading = false;
this._initialized = false;
this._dbusProxy = new CalendarServer();
}
this._events = newEvents;
+ this.isLoading = false;
this.emit('changed');
},
requestRange: function(begin, end, forceReload) {
if (forceReload || !(_datesEqual(begin, this._lastRequestBegin) && _datesEqual(end, this._lastRequestEnd))) {
+ this.isLoading = true;
this._lastRequestBegin = begin;
this._lastRequestEnd = end;
this._curRequestBegin = begin;
},
_update: function() {
+ if (this._eventSource.isLoading)
+ return;
+
let today = new Date();
if (_sameDay (this._date, today)) {
this._showToday();